Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODPart


ContainingPartPropertiesUpdated

The ContainingPartPropertiesUpdated method is called to notify this part that its containing part's container properties have changed.

void ContainingPartPropertiesUpdated (
                           in ODFrame frame, 
                           in ODStorageUnit propertyUnit);
frame
A reference to a display frame to which the container properties apply.
propertyUnit
A reference to a storage unit that contains the changed container properties.
DISCUSSION
This part's containing part calls this method when the container properties it provides for adoption have changed. Your part's ContainingPartPropertiesUpdated method should inspect the specified storage unit for container properties that this part can understand. Where applicable, your method should adopt those container properties for its own appearance or behavior. It ignores inapplicable container properties, without generating an exception.

OVERRIDING
When you subclass ODPart, you must override this method. Your override method must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
The ODPart::AcquireContainingPartProperties method (page 477).
Table 2-1 on page 89 in OpenDoc Programmer's Guide.
"Adopting Container Properties" on page 114 in OpenDoc Programmer's Guide.
"Transmitting Your Container Properties to Embedded Parts" on page 125 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help